package com.xone.xapp;

import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.util.Log;

public class SubscribeReceiver extends BroadcastReceiver {
	
	private final static String LOG_TAG = "com.xone.app.SubscribeReceiver";
	
	@Override
	public void onReceive(Context context, Intent intent) {
		Log.i(LOG_TAG, "SubscribeReceiver receives broadcast event.");
		Intent service = new Intent(context, SubscribeService.class);
		context.startService(service);
		Log.i(LOG_TAG, "SubscribeReceiver has made SubscribeService get started.");
	}

}
